public class Book {
    String id;
    String message;
    double price;

    public Book(String id, String message, double price) {

        this.id = id;
        this.message = message;
        this.price = price;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Book{" +
                "id='" + id + '\'' +
                ", message='" + message + '\'' +
                ", price=" + price +
                '}';
    }
}
